<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户列表</title>
    <link rel="stylesheet" type="text/css" href="https://www.layuicdn.com/layui-v2.5.6/css/layui.css"/>
    <script src="https://www.layuicdn.com/layui-v2.5.6/layui.js"></script>
</head>
<body>
<div style="margin: 0 auto;width: 1200px">
    <h1 style="text-align: center;font-weight: bold;margin-top: 30px">用户列表</h1>
    <table class="layui-table">
        <tr style="height: 35px;">
            <td>序号</td>
            <td>姓名</td>
            <td>手机号码</td>
            <td>账户余额</td>
            <td>违法次数</td>
            <td>未处理违法次数</td>
            <td>总分数</td>
            <td>已记分数</td>
            <td>可用分数</td>
        </tr>
        <tr th:each="user:${users}">
            <td th:text="${user.userId}"></td>
            <td th:text="${user.userName}"></td>
            <td th:text="${user.phone}"></td>
            <td th:text="${user.balance}"></td>
            <td th:text="${user.illegalCount}"></td>
            <td th:text="${user.unsettledIllegalCount}"></td>
            <td>12</td>
            <td th:text="${user.unavailableScore}"></td>
            <td th:text="${user.availableScore}"></td>
        </tr>
    </table>
</div>
</body>
</html>